package com.wn.mapper;

import com.wn.ov.ConsultationOv;
import com.wn.pojo.Consultation;

import java.util.List;

public interface ConsultationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Consultation record);

    int insertSelective(Consultation record);

    Consultation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Consultation record);

    int updateByPrimaryKey(Consultation record);
//由主治医生,发起人查找
    List<ConsultationOv> superSearch(String superSearchKeyWord, Integer id);

    List<ConsultationOv> getConsultationByCreatedId(Integer id);
//    会诊医生id查找
    List<ConsultationOv> superSearchByDoctorId(String superSearchKeyWord, Integer id);

    List<ConsultationOv> getConsultationByDoctorId(Integer id);
}